package com.chixing.day15.day15_Home;

import java.time.LocalDate;

public class Student {
    private int stuNo;
    private String stuName;
    private String stuGender;
    private String stuMajor;
    private LocalDate stuBirthday;

    public Student() {
    }

    public Student(int stuNo, String stuName, String stuGender, String stuMajor, LocalDate stuBirthday) {
        this.stuNo = stuNo;
        this.stuName = stuName;
        this.stuGender = stuGender;
        this.stuMajor = stuMajor;
        this.stuBirthday = stuBirthday;
    }

    public int getStuNo() {
        return stuNo;
    }

    public void setStuNo(int stuNo) {
        this.stuNo = stuNo;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuGender() {
        return stuGender;
    }

    public void setStuGender(String stuGender) {
        this.stuGender = stuGender;
    }

    public String getStuMajor() {
        return stuMajor;
    }

    public void setStuMajor(String stuMajor) {
        this.stuMajor = stuMajor;
    }

    public LocalDate getStuBirthday(LocalDate localDate) {
        return stuBirthday;
    }

    public void setStuBirthday(LocalDate stuBirthday) {
        this.stuBirthday = stuBirthday;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stuNo=" + stuNo +
                ", stuName='" + stuName + '\'' +
                ", stuGender='" + stuGender + '\'' +
                ", stuMajor='" + stuMajor + '\'' +
                ", stuBirthday=" + stuBirthday +
                '}';
    }
}
